package com.fjnuvg.videoplayer.lxc;

import com.fjnuvg.videoplayer.R;

import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.ActionBar;
import android.app.Activity;
import android.os.Build;
import android.os.Bundle;

@TargetApi(Build.VERSION_CODES.HONEYCOMB)
@SuppressLint("NewApi")
public class main_activity extends Activity{
	
	@SuppressLint("NewApi")
	private ActionBar actionBar = getActionBar();
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main_activity);
        actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); 
        ActionBar.Tab tabA = actionBar.newTab().setText("A Tab"); 
        ActionBar.Tab tabB = actionBar.newTab().setText("B Tab"); 
        ActionBar.Tab tabC = actionBar.newTab().setText("C Tab");
        actionBar.addTab(tabA); 
        actionBar.addTab(tabB); 
        actionBar.addTab(tabC);
    }

}
